/*
 * tda1543.h
 *
 * Created: 2011.10.26 20:58:41
 *  Author: Administrator
 */ 


#ifndef TDA1543_H_
#define TDA1543_H_

#include <avr/io.h>
#include <util/delay.h>

#define TDA1543_PORT	PORTA

#define TDA1543_BCK		PA0
#define TDA1543_WS		PA1
#define TDA1543_DATA	PA2

#define TDA1543_LEFT	0
#define TDA1543_RIGHT	1

void TDA1543_init();
void TDA1543_output(unsigned short ldata,unsigned short rdata);

#endif /* TDA1543_H_ */